﻿<Window x:Class="WPF_ObservableCollection_List.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       
        Title="MainWindow" Height="530" Width="825" MinWidth="500">
  <!--<Grid>
    <ListView Height="308" HorizontalAlignment="Left" Margin="42,114,0,0" Name="listView1" 
                  ItemsSource="{Binding AllFiles1}"    VerticalAlignment="Top" Width="276" >
      <ListView.View>
        <GridView>
          <GridViewColumn   DisplayMemberBinding="{Binding FullPath}"  Header="FullPath" />
          <GridViewColumn  DisplayMemberBinding="{Binding LastModifyTimeString}" Width="150" Header="LastModifyTimeString"    />
          <GridViewColumn  DisplayMemberBinding="{Binding SizeString}" Width="150" Header="SizeString"   />
        </GridView>
      </ListView.View>
    </ListView>
    <ListView Height="308" HorizontalAlignment="Left" Margin="366,114,0,0" Name="listView2" VerticalAlignment="Top" Width="276" 
                  ItemsSource="{Binding AllFiles2}" >
      <ListView.View>
        <GridView>
          <GridViewColumn   DisplayMemberBinding="{Binding FullPath}"  Header="FullPath" />
          <GridViewColumn  DisplayMemberBinding="{Binding LastModifyTimeString}" Width="150" Header="LastModifyTimeString"    />
          <GridViewColumn  DisplayMemberBinding="{Binding SizeString}" Width="150" Header="SizeString"   />
        </GridView>
      </ListView.View>
    </ListView>
    <Button Content="ObservableCollection" Height="23" HorizontalAlignment="Left" Margin="51,76,0,0" Name="btnObservable" VerticalAlignment="Top" Width="180" Click="btnObservable_Click" />
    <Button Content="List" Height="23" HorizontalAlignment="Left" Margin="378,76,0,0" Name="btnList" VerticalAlignment="Top" Width="75" Click="btnList_Click" />
    <Button Content="Create test file" Height="23" HorizontalAlignment="Left" Margin="59,12,0,0" Name="button1" VerticalAlignment="Top" Width="189" Click="button1_Click" />
  </Grid>-->
</Window>